import * as types from '../types'

const state = {
	src:'', // 裁剪过的图片地址
	path:'', // 需要裁剪的图片页面（eg：自有产品的产品图或者规格图）
}


const mutations = {
	[types.IMAGE_SRC_UPDATE](state, payload) {
		state.src = payload
	},
	[types.IMAGE_PATH_UPDATE](state, payload) {
		state.path = payload
	},

}
const actions = {
}

export default {
	state,
	mutations,
	actions
}
